<!DOCTYPE html>
<html>

<meta charset="utf-8">
<head th:include="include :: header"></head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-sm-12" th:if="${essent.roleId} != 63 and ${essent.roleId} != 61">
            <div class="ibox">
                <div class="ibox-body">
                    <div class="fixed-table-toolbar">
                        <div class="columns pull-left">
                            <button type="button"
                                    class="btn  btn-primary" onclick="download()">
                                <i class="fa fa-plus" aria-hidden="true"></i>文档下载
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <div class="ibox-content">
                <form class="form-horizontal m-t" id="signupForm">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">用户名：</label>
                        <div class="col-sm-8">
                            <input id="userName" name="userName" class="form-control"
                                   type="text" th:value="${essent.userName}" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">联系方式：</label>
                        <div class="col-sm-8">
                            <input id="mobile" name="mobile" class="form-control"
                                   type="text" th:value="${essent.mobile}" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">微信固码费率(单位：%)：</label>
                        <div class="col-sm-8">
                            <input id="weixinFixedRate" name="weixinFixedRate" class="form-control"
                                   type="text" th:value="${essent.weixinFixedRate}" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付宝固码费率(单位：%)：</label>
                        <div class="col-sm-8">
                            <input id="alipayFixedRate" name="alipayFixedRate" class="form-control"
                                   type="text" th:value="${essent.alipayFixedRate}" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付宝转账(单位：%)：</label>
                        <div class="col-sm-8">
                            <input id="alipayTransferRate" name="alipayTransferRate" class="form-control"
                                   type="text" th:value="${essent.alipayTransferRate}" readonly>
                        </div>
                    </div>
                    <div class="form-group" th:if="${not #strings.isEmpty(essent.identification)}">
                        <label class="col-sm-3 control-label">商户号：</label>
                        <div class="col-sm-8">
                            <input id="identification" name="identification" class="form-control"
                                   type="text" th:value="${essent.identification}" readonly>
                        </div>
                    </div>
                    <div class="form-group" th:if="${not #strings.isEmpty(essent.token)}">
                        <label class="col-sm-3 control-label">商户token：</label>
                        <div class="col-sm-8">
                            <input id="token" name="token" class="form-control"
                                   type="text" th:value="${essent.token}" readonly>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/essential/essential/list.js"></script>
</body>
</html>
